<!DOCTYPE html>
<html>
<head>
<title>考评信息</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("evaluationinformation:save"))
			<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			#end
			#if($shiro.hasPermission("evaluationinformation:update"))
			<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			#end
			#if($shiro.hasPermission("evaluationinformation:delete"))
			<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">员工姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.empName" placeholder="员工姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.empId" placeholder="员工id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">部门</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.department" placeholder="部门"/>
			    </div>
			</div>
									<!--<div class="form-group">
			   	<div class="col-sm-2 control-label">部门id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.departmentId" placeholder="部门id"/>
			    </div>
			</div>-->
									<div class="form-group">
			   	<div class="col-sm-2 control-label">岗位</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.post" placeholder="岗位"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">岗位id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.postId" placeholder="岗位id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">年</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.year" placeholder="年"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">月</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.mouth" placeholder="月"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">绩效内容</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.achievementsContent" placeholder="绩效内容"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">权重分值</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.weightScore" placeholder="权重分值"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">自我评分</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.selfRating" placeholder="自我评分"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">自评说明</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.selfInstruction" placeholder="自评说明"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">上级评分</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="evaluationInformation.superiorScoring" placeholder="上级评分"/>
			    </div>
			</div>

			<div class="form-group">
				<div class="col-sm-2 control-label">上级评分说明</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="evaluationInformation.superiorInstruction" placeholder="上级评分说明"/>
				</div>
			</div>

			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/hr/evaluationinformation.js?_${date.systemTime}"></script>
</body>
</html>